package com.liujit.upms.domain.result;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.liujit.common.domain.result.UserInfo;
import com.liujit.upms.domain.model.SysMenu;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @description: 登录信息
 * @author: liujun
 * @create: 2021-03-27 13:11
 */
@Data
@ApiModel(value = "LoginInfoResult", description = "登录信息")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class UserInfoResult {

    @ApiModelProperty(value = "用户信息")
    private UserInfo info;

    @ApiModelProperty(value = "菜单")
    private List<SysMenu> routers;

    @ApiModelProperty(value = "权限")
    private List<String> permissions;
}
